package com.vf.s.common.model.scene;

import com.vf.core.model.ZtreeNode;
import com.vf.s.common.model.scene.base.BaseBizSceneLayer;

@SuppressWarnings("serial")
public class BizSceneLayer extends BaseBizSceneLayer<BizSceneLayer> {
	public static final BizSceneLayer dao = new BizSceneLayer().dao();
	public static final String TABLE_NAME = "BIZ_SCENE_LAYER";
	
	public ZtreeNode toZTreeNode(BizSceneLayer layer) {
		ZtreeNode node = new ZtreeNode();
		node.setId(layer.getId());
		node.setName(layer.getName());
		node.setType(layer.getType());
		//node.setIcon(layer.getIcon());
		return node;
	}

}
